/*
 * @Date: 2025-07-21 23:27:48
 * @LastEditors: 贾二小 erxiao.jia@outlook.com
 * @LastEditTime: 2025-07-21 23:29:21
 * @FilePath: /admin-vue/src/utils/storage.ts
 */
const storagePrefix = import.meta.env.VITE_STORAGE_PREFIX || ''

export const localStg = createStorage<StorageType.Local>('local', storagePrefix)

export const sessionStg = createStorage<StorageType.Session>('session', storagePrefix)

export const localforage = createLocalforage<StorageType.Local>('local')
